package com.yztc.orangeentertainment.ui.main.findfragment.findui;

import android.content.Context;

import com.yztc.orangeentertainment.bean.findbean.FindChangeBean;
import com.yztc.orangeentertainment.bean.findbean.FindHotBean;
import com.yztc.orangeentertainment.bean.findbean.FindMoreBean;
import com.yztc.orangeentertainment.ui.main.findfragment.findhttp.FindHttpHelper;

import java.util.Map;

import rx.Subscriber;

/**
 * Created by My on 2016/10/13.
 */
public class FindModle implements FindContract.Modle {

    @Override
    public void getFindMoreDataBean(String url, Context context, Subscriber<FindMoreBean>
            subscriber) {
        FindHttpHelper.getInstance().getFindMoreBean(url, context, subscriber);
    }

    @Override
    public void getFindChangeBean(String type, Map<String, String> params,
                                  Subscriber<FindChangeBean>
                                          subscriber) {
        FindHttpHelper.getInstance().getFindChangBean(type, params, subscriber);
    }

    @Override
    public void getFindHotDataListBean(String type, Map<String, String> params,
                                       Subscriber<FindHotBean> subscriber) {
        FindHttpHelper.getInstance().getFindHotBean(type, params, subscriber);
    }
}
